package com.newsmanagement.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;


/**
 * @author xbr
 *
 * 新闻内容信息表
 */
public class NewsContentEntity {

    //主键
    //CONTENT_ID
    private Integer contentId;

    //新闻内容标题
    //CONTENT_TITLE
    private String contentTitle;

    //新闻内容
    //CONTENT_TXT
    private String contentTxt;

    //新闻分类id
    //CATEGORY_ID
    private Integer categoryId;

    //排序
    //ORDER_NUMBER
    private Integer orderNumber;

    //是否删除：0:已删除，1：未删除;默认未删除
    //DELETE_FLAG
    private Integer deleteFlag;

    public Integer getContentId() {
        return contentId;
    }

    public void setContentId(Integer contentId) {
        this.contentId = contentId;
    }

    public String getContentTitle() {
        return contentTitle;
    }

    public void setContentTitle(String contentTitle) {
        this.contentTitle = contentTitle;
    }

    public String getContentTxt() {
        return contentTxt;
    }

    public void setContentTxt(String contentTxt) {
        this.contentTxt = contentTxt;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(Integer orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }
}

